home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
UNCX01.F01
< prev
next >
Wrap
Text File
|
1996-04-01
|
1KB
|
26 lines
CIMFIL/ON,LOADTL $$ TRAP LOADTL(TOOLCHANGE)
REDEF/ON $$ ALLOW VARIABLES TO BE OVERWRITTEN
RSLT=POSTF(20) $$ SAVE RECORD ASIDE
PREFUN/80,NEXT $$ ADD G80 NEXT TO...
PREFUN/40,NEXT $$ G40 NEXT TO...
PREFUN/17,NEXT $$ G17 NEXT TO...
PREFUN/0, $$ G0
RSLT=POSTF(21) $$ RELOAD RECORD
RSLT=POSTF(9,7,159) $$ CHANGE LENGTH TO ADJUST(159)
RSLT=POSTF(10,6,0) $$ CHANGE THE LENGTH TO 0
RSLT=POSTF(13) $$ SEND RECORD TO POST
CIMFIL/OFF $$ END ROUTINE
CIMFIL/ON,END $$ TRAP END
RSLT=POSTF(20) $$ SAVE RECORD ASIDE
AUXFUN/5, $$ ADD M5
PREFUN/0,NEXT $$ ADD G0
PREFUN/91,NEXT $$ ADD G91
Z0=POSTF(1,3,343) $$ GET THE CURRENT Z LOCATION
Z0=(Z0*-1) $$ REVERSE THE SIGN OF THE CURRENT Z
RAPID $$ SET RAPID MODE
GODLTA/0,0,Z0 $$ OUTPUT Z0
RSLT=POSTF(21) $$ RELOAD RECORD
RSLT=POSTF(13) $$ SEND TO POST
CIMFIL/OFF $$ END ROUTINE